<div class="nav">
    <a href="{:U('index')}">在线客服列表</a>
    <a class="sel" href="#">编辑在线客服</a>
</div>
<div class="add">
    <form method="post" action="" >
        <table class="table_add">
            <tr>
                <td width="100px">客服类型</td>
                <td>
                    <select id="type" name="type" class="sel1">
                        <option value="">选择类型</option>
                        <option value="QQ">QQ</option>
                        <option value="邮箱">邮箱</option>
                        <option value="MSN">MSN</option>
                        <option value="SKYPE">SKYPE</option>
                        <option value="电话">电话</option>
                        <option value="旺旺">旺旺</option>
                    </select></td>
            </tr>
            <tr>
                <td width="100px">客服名称</td>
                <td><input class="input1" type="text" name="title" id="title" value="{$model.title}" style="width:140px" /> </td>
            </tr>
            <tr>
                <td width="100px">客服号码</td>
                <td><input class="input1" type="text" name="number" id="number" value="{$model.number}" style="width:140px" /> </td>
            </tr>
            <tr>
                <td width="100px">顺序编号</td>
                <td><input class="input1" type="text" name="order_id" id="order_id" value="{$model.order_id}" style="width:60px" /> <label class="msg">*</label></td>
            </tr>
            <tr>
                <td width="100px">是否显示</td>
                <td><select name="is_show" id="is_show" class="sel1">
                        <option value="1">显示</option>
                        <option value="0">不显示</option>
                    </select>
                    <script type="text/javascript">
                        $("#type").val('{$model.type}');
                        $("#is_show").val('{$model.is_show}');
                    </script> 
                </td>
            </tr>
            <tr>
                <td></td>
                <td><input type="submit" class="btn1" value="提 交" /> &nbsp; <input class="btn4" type="reset" value="重 置" /> &nbsp; <input class="btn3"  type="button" onclick="window.history.back()" value="返 回" /></td>
            </tr>
        </table>
        <input type="hidden" name="id" value="{$model.id}" />
    </form>
</div>
